﻿using UnityEngine;
using System.Collections;

public class 敌人攻击管理:MonoBehaviour {

    // Use this for initialization
    void Start() {

    }

    // Update is called once per frame
    void Update() {

    }


    private void OnTriggerEnter2D(Collider2D other) {
        Debug.Log(other.tag);
        if (other.tag == "Player") {
            Debug.Log(other.tag);
        }

    }

}
